<?php
// 视图模型
import('ViewModel');
class vzzwyModel extends ViewModel {//不动产视图
    protected $viewFields = array(
        'school'=>array('id','sName','sType','sFr','sLxr','sPhone','sAddress','sStaffCount','sStudentCount'),
        'zzwy'=>array('*','_on'=>'zzwy.dwid=school.id'),
    );
}
?>